MailPoet\WooCommerce\Helper A

Total Complexity 71
Dependencies 12
Dependents 54
Total lines 334
Lines of code 236
Logical lines of code 95
Comment lines 29
Methods 42
Properties 1

Methods 42

Method Rating Maintainability Complexity Lines of code
getCouponList()
S
51 5 26
wasMailPoetInstalledViaWooCommerceOnboardingWizard()
S
59 5 14
isCheckoutRequest()
S
65 5 7
getShippingMethodInstancesData()
S
56 3 20
isWooCommerceCustomOrdersTableEnabled()
S
64 4 10
getCustomersCount()
S
63 4 10
isWooCommerceBlocksActive()
S
65 3 9
getLatestCoupon()
S
62 2 11
formatShippingMethods()
S
64 2 10
isWooCommerceActive()
S
79 2 3
getWooCommerceVersion()
S
77 2 3
getOrdersTableName()
S
69 2 6
getAddressesTableName()
S
69 2 6
wcGetPageId()
S
71 2 6
createWcCoupon()
S
80 1 3
wcGetCouponCodeById()
S
80 1 3
wcGetCouponTypes()
S
81 1 3
getOrderStatuses()
S
81 1 3
getRawPrice()
S
75 1 4
wcGetPriceDecimalSeparator()
S
81 1 3
getPaymentGateways()
S
81 1 3
wcGetAttributeTaxonomies()
S
81 1 3
getAllowedCountries()
S
79 1 3
__construct()
S
81 1 3
getOrdersCountCreatedBefore()
S
63 1 10
wcPrice()
S
79 1 3
getPurchaseStates()
S
72 1 6
WC()
S
81 1 3
wcGetCustomerOrderCount()
S
80 1 3
wcGetOrder()
S
80 1 3
wcGetOrders()
S
80 1 3
wcCreateOrder()
S
80 1 3
wcGetProduct()
S
80 1 3
wcHexIsLight()
S
80 1 3
wcGetPriceDecimals()
S
81 1 3
wcGetPriceDecimalSeperator()
S
81 1 3
wcGetPriceThousandSeparator()
S
81 1 3
getWoocommercePriceFormat()
S
81 1 3
getWoocommerceCurrency()
S
81 1 3
getWoocommerceCurrencySymbol()
S
81 1 3
woocommerceFormField()
S
79 1 3
wcLightOrDark()
S
79 1 3